package com.nsharmon.iBridge.dao.entities;

import javax.persistence.DiscriminatorColumn;
import javax.persistence.DiscriminatorType;
import javax.persistence.DiscriminatorValue;
import javax.persistence.Entity;

@Entity
@DiscriminatorColumn(name="type", discriminatorType=DiscriminatorType.STRING)
@DiscriminatorValue("Bid")
public class BidCondition extends Condition {
	public enum Suit {
		Clubs,
		Diamonds,
		Hearts,
		Spades,
		NoTrump
	}
	
	private Suit bidSuit;
	private Integer tricks;
	
	private Boolean bidDouble;
	private Boolean bidPass;
	private Boolean isReplyBid;
	
	private Integer miniumumPoints;
	private Integer maximumPoints;
	
	public BidCondition() {
		super();
	}

	public Suit getBidSuit() {
		return bidSuit;
	}

	public void setBidSuit(Suit bidSuit) {
		this.bidSuit = bidSuit;
	}

	public Integer getTricks() {
		return tricks;
	}

	public void setTricks(Integer tricks) {
		this.tricks = tricks;
	}

	public Boolean getBidDouble() {
		return bidDouble;
	}

	public void setBidDouble(Boolean bidDouble) {
		this.bidDouble = bidDouble;
	}

	public Boolean getBidPass() {
		return bidPass;
	}

	public void setBidPass(Boolean bidPass) {
		this.bidPass = bidPass;
	}

	public Boolean getIsReplyBid() {
		return isReplyBid;
	}

	public void setIsReplyBid(Boolean isReplyBid) {
		this.isReplyBid = isReplyBid;
	}

	public Integer getMiniumumPoints() {
		return miniumumPoints;
	}

	public void setMiniumumPoints(Integer miniumumPoints) {
		this.miniumumPoints = miniumumPoints;
	}

	public Integer getMaximumPoints() {
		return maximumPoints;
	}

	public void setMaximumPoints(Integer maximumPoints) {
		this.maximumPoints = maximumPoints;
	}
}
